Add getWindowNameAndNetwork helper function
Fix cookie handling in login controller
Complete addText message handler in irc-backend
Courier fixes
Improve error handling and message format
JSHint fixes