* BUGGfix. Gets stuck after running o in explorermode. Made esc global and made sure to reset all state-variables there.