Added error code, made some minor changes for LoLTalk