Refactor mainsquaretab to handle its updates itself