Added new mode permissions and GUI changes.