It seems that spaces does not play well with Quark. Switching spaces with a Quark doc open and then switching back seems to result in the same save error as if a remote volume was disconnected while the document was open. The nex tsave results in an "unexpected end of file" error. Luckily a save as fixes the glitch.