Added mouse motion and button press logging