started working on auto-save timer
the auto-save timer kinda works now
cleaned up the code a bit
Added double buffering and the ability to draw dots