- Pane code rewritten from scratch with better structure and event management