Added some of MainFrame's framework for TabUI accommodation.
Adding framework for tabs on the MainFrame class.