Added some error messages for failed IRC connections.
Added error message when failed to open log file.
Fixed Twitter plugin.