some more work toward doors

a small fix to map gen
more event handling code