Finish off initial version of "editpw" script.