Move widgets into a MainWindow Class

It's difficult to have multiple screens if all the widgets are top
level objects.  Putting them into a class makes each widget
accessible to the methods within that class.
Fix issue with vsi and tc where the background gets messed up
with a resize