initial work on polling, has issues in slow framerate
key input syncs with frame
minor cleanup, changed canvas size again
cleaned up main tick function
moved code in index to separate file
enemy now does not move if it is alive
Merge pull request #6 from csjordan/key_polling

Keyboard input is now polled.