Fixing error reporting in relation to issue #277.
Fixing issue #276.
Fixing issue #278.
Fixing issue #280.
Fixing issue #279. Apparently UAC/5 dps calculation was also wrong.
Fixing issue #281.
Fixes issue #282.
Fixing issue #283.