Work around OS bug where NSToolbarFullScreenWindow is key and PTYWindow is main by treating that case specially.
Remove unused variables
Fix up analyzer warnings
Fix analyzer warning about memory leak
Reoganize project file
Move core files into Core group in project
Start cleaning up preference panel
Middle click on a tab closes it (bug 1909)
Clean up PreferencePanel factories
Remove incomplete and unneeded -[PreferencePanel dealloc]
Reorg PrefPanel some more.
Clean up list of color keys in _exportColorPresetToFile
Reorganize PreferencePanel.m into some semblance of sanity
Set NSSupportsAutomaticGraphicsSwitching=true
Merge commit 'c399c8803a2504d710fa6e1e7dc34777d5a1e911'
Merge commit '88f9bd79712bfeb7638aaed558c2f09288c7d84a'
Big merge