Some code improvements
Merge branch 'master' of github.com:EasyWoW/arcemu