Fixed Lion-related crashes, a crash on exit, and a failure to quit when the window was closed. Also, tutorials weren't displaying right on first run.