improvements to undo/redo actions
- add script name in save message box dialog
- fix indentation