fixing it to use tabs as main window

Seems to work now. It’s more better at least.