do a save-all before renaming asset

fixes #956
we were losing unsaved asset changes

also fix an event namespace that was resulting in event handler not being removed