Revert "Main window created"

This reverts commit 0aa2c223821255f0b73e57607a0cf3cabc857e1a.