My problems also occurred when copying and pasting, but not when (load) the file I was copying from. Another common error in this situation was undefined __M.
I just tried v4.0.1 to see if they had fixed the bug... and it seems to still be there. I guess you just have to be careful about what you paste into the REPL under Windows. (Or use arc-mode in Emacs ;-)