major MainWindowView refactoring