Minor fixes to texture.rkt
Isolated keyboard event handling code from main.rkt, spun off into new file, event.rkt