Changes to Reduce palette bit-depth.lua:
- Add palette preview (before/after)
- Apply changes on the fly instead of only after clicking OK
- Undo changes when pressing Cancel
- Disable accessing the sprite while the dialog is open
- Use
app.spriteinstead of the deprecatedapp.activeSprite