Track the client's nick changes

It looks like there's no need to make username global.  Let's avoid global variables as much as possible.