Editing profiles now works.

Editing existing profiles is now operational. Labeling of the profiles
needs further work, but the software is still operational.