Added support for CHAT (Telnet Chat) for PvPGN servers.
Redid chat event handling.
If you have set a persistant channel, it will now always be joined even if it the default-join channel.
You will not appear to join any channel on PvPGN or if you're in a clan anymore. You must always set a channel to persistant-join.
Fixed a crash when closing a chat or channel or removing a buddy.
Fixed a crash when entering in "Set User Info" and leaving one or more fields blank.
Fixed a crash when Battle.net does not respond to your news request or there is no news to return before you open "Show News and MOTD".
Fixed several bugs where memory may be leaked for every message sent and received as well as for various other events involving displayed strings.
Commented out some unused functions.
Redid the formatting for bnet.c.
Use structs to read BNCS and BNLS packet headers.
Made a function bnet_escape_text() to unify handling of making text for news and profiles HTML-ready. This fixes all bugs with news and profiles not showing line breaks or not escaping HTML tags correctly.
Use unions to convert between clan tags and strings.

Fixed the 'missing folder m4' error when checking out the source onto a new system and running ./autogen.sh
Readded warnings to compile as it was before.