- fixed bug around exception raised if clipboard is empty and "paste
  as keystrokes" function is used
- fixed bug around eroneous repetitive key presses occuring if a replay
  is cancelled before completion