Simplified main-loop a bit more, and removed more globals from AppleWin.cpp