minor tweaks to register use checking. Extra debug options in
DebugDefines.h