Updated the Gui tabs to be made in the constructor. the references are
also made in the constructor