Added Cmd-R to force a refresh and Cmd-Q to quit
Also cleaned up the code a tiny bit, the programmatic handler wasn’t needed for the prefs shortcut