Work on the user interface. Document windows now activate properly, and clicking on a document that is already open will activate its window.

Menu items for the main menu have been reworked.