Initial supporting work for adding a GUI.

Spawns an empty main window. Yay!