Fixed deprecations in DebugConsole and DebugMacros