Adding bounds checking for all movement. Also modifying some key events to trigger while held down, until you release the key.