finished game

I added a listener for the key "z" on line 825, it changes to STATE_WIN
when  that happens, it's good for testing level transitions, remove it
before submit