improved debug handling, always print to console, when debug panel is disabled