Small changes for compiling with MSVC 2013.
Remove #ifdef guards.
Fix for broken physics in exteriors (Fixes #1446)

The wrong function was being used to check the distance between old and new positions. It took the length of the vectors into account, which makes no sense for positions. The issue was only observed in exteriors, since most interiors are relatively close to the origin.
Merge remote-tracking branch 'upstream/master'
For compiling with MSVC 2012
Merge remote-tracking branch 'cc9cii/master'
Merge remote-tracking branch 'scrawl/master'
Fix uninitialized variable use
Fix console reference label not resetting when loading save
Show base item value in tooltip, not real value (Fixes #1469)
Fix a sign error
Savegame: Store AiSequence
Handle activation scripts in AiActivate (Fixes #1478)
Savegame: Store death counter (Fixes #1477)
Workaround per-frame resources leak in MyGUI. New vertex buffers were being created every frame.