Define my own menu, allowing cmd+q and cmd+o to work. Still ugly test code.