Working Version. Fixed event system with Robot.java.