Memory diagnostics added.  Mem usage is printed whenever you turn debugging on (even if it is already on).