First real commit.

First outline of the main window, no real functions yet.