Still fiddling around with sizing, cleaned up the debug panel a bit more.
Very unpolished, but have begun moving much of the debug panel to using jQuery UI.