cleaned up controller. ready for panels
got resizable panels. closes #36