Cleaned up editing, creating, and removing profiles.