draw panel, close panel, update notifications, set esc hotkey