Added event-command: UNLOCK_LEVEL. Many changes in code.