added a template action class for copy/paste and refactored Apologize
made msg non-optional and fixed a typo