improve debug frame

Fixes #552

* added border for ListCtrls.
* fixed debug checkbox problem.
* improved runtime profile tab.
* some cleanup.