Progress on New Project part

Now it is possible to initialize new projects (though loading is still
not implemented).
Added Preview window, which is not functional at this point.
Hooked up some additional logic.
Part 2 of the previous commit.

Still the same stuff.
Fixed a few minor issues.