Fixed definition of section type of the current theme settings. Added short backtrace info to debug method.