esc handler moved to keydown. Keyup listener removed entirely.
build