Derive from special-mode

- Ensures buffer is read-only, and responds to "q"
- Buffer is made temporarily writable while inserting programme tree