Fix nickname problem

When getting nickname from the config file, we should convert it into unicode. Otherwise if the nickname is a number like 1234, then `get()` will get the nickname as an `int`, and the Settings Dialog will break.

This should fix #825.