Warning Fixes.
Added debug msg.