Added central widget.
Put all widgets into main layout. Window can now be resized without messing up layout of widgets.