Restoring a bunch of misfit gui functions