Code Cleanup
Rewrite Skill code
Update pugixml to version 1.5
and other fixes - (tfs credit for this)