Improved events, fixed mouse button crashing

Also added ability to check how long each part of the system took to
execute.