Started adding panels and buttons, added some pseudo-code.