minor fixes to debug panel. Still broken. Implemented basic stroke rect