Isolated GUI code

Each window is now incapsulated into its own object.
Officially changed the version to 0.4.0.0.
Added public set access for the settings (needed for the separate GUI
objects).