Release mode bug

Fix Release mode bug.  Remove method from ASSERT().  Fix 2 release mode warnings.
This commit should not be part of the assert() fix commit. It is unrelated and has no functional significance.