Added menu bar and other things.
Fixed opening window.