Lots of changes related to history management:
- Allowing rename
- Validating variable/action refs for rename
- Passing scope from promt
- Enabling debug view with 'k'
- Excluding null nodes from ids/packages
- A few rendering tweaks
- Fixing some deletion bugs