Resetting UI on the viewport
You can right click on a menu item and select Header -&gt; Flip to Top to restore the menu to the top.  If everything is all messed up, you can just add a new default workspace by hitting the + button at the end of all of the selectable workspaces at the top of the window and choosing the one you want.