* Fixed the web service call to battle.net
* Fix warnings
* Minor refactoring