Fixed errors with switching tabs, fragments should now be being used
correctly (or at least more correctly than before)