Refactored panel communication to use an angular service, started work on panel editing interface