Migrated all self.gui references to self.get_canvas() to reduce reference variables.