Fixed input so that it works as a java webstart application. No more
MouseInfo to get mouse locations.