Remove unused property 'active' from Buffer.
Get current nick when sending messages.
Move getting and setting settings into utils.