add an action for copy assigned peaks to clipboard, and bug fix