Improve DebugFrame

NOT YET FINISHED

* solved a wx-threading problem (may show PyDeadObjectError)