Refactor intended to patch a few holes

Something of a rewrite of add/rename profile/service/account. Support
for specifying a new name through the selection box was removed in the
interest of improving stability of the program.