Memleaks and other fixes
Levelhistory now records correctly
Fix regression on upgradeStats for monsters
Fix for push not being able to find any valid targets
Merge branch 'master' into remove_otag