Updated with CTools Panels pane plugin; code fixes.