remove unnec' init
add more tests for main window controller