Exit cleanly when cancelling the open WAD dialog

Release the mutex and restore the accessibility shortcut keys