Add project pane to main window, fix div by zero in model