Refactor tabs and move initialization of mWorld to mainwindow constructor