Switched to object-oriented model server-side. Used namespacing client-side. Added comments all over the place. Hashed (already-hashed) account keys on server-side to reduce risk of a formerly-privilged attacker gaining access to encrypted safes.