Updated code to use latest version of BattleNET library.