improved DebugActivity performance, bugfixes
bugfix import