Only get client code if we don't have one.
Numberous fixes 'n' things. Nothing amazing, really.
First implementation of registering an  account.