Add monitor and screen saver state control; replaced cursor position to mouse event