FIX: Various errors when "DEBUG" was not defined.