Main window refactoring