Auto-View-Distance bug fix

Code cleanup plus the fix. Init was not setting objectViewDistance to
(_changeto / 100) * viewDistance; instead it was just setting to
_changeto which would be 0-100.