Improve DebugFrame

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