Moved mouse click and keyboard implementation to autopy.
Cleaned up some stuff, made some stuff worse.