applied Gottox' monitor.diff patch (thanks btw)