Track the client's nick changes

When you reference `username` in the callbacks to `join`, `nick`, and `registered`, those callbacks are assigned within the callback to `click` event of the `connect` button.  You moved where `username` is declared in this patch; you don't need to.