TDebug now has sdebug() method for static call. Application bugfixed.