I would start over by creating a Carbon application in Xcode. If you build the project and run the program, it opens a blank window that you can move, resize, minimize, and zoom. The program does all that just by calling RunApplicationEventLoop(). From that base you can install the standard...