UI refactoring: main forms