Temp fix to stop GUI crashing. Disabled self.gui.Update() on line 34.