Fixed bug with timers. Added clearTimeout function.
Added a whole bunch of stuff