Added standalone mode. Attempt to get mouse events in mastercontroller.