added colors, fixed bug with NICK global, fixed :q command and some minor code quality fixes