Disable some parts of GUI.