support for changing nicknames, minor improvements