more updates and fixes, added undoing of clips.