Possible SPOILER: Question about a puzzling scene

Rating: 10/10 (24 November 2004)

I really loved this movie, as I loved "Being John Malkovich". I was very surprised however to discover that some of my friends found it utterly boring... For me is a 10 out of 10.
One scene puzzled me though: Jim and Kate are talking to each other in Kate's bookstore, where the books have blank covers. She is reproaching him about "his marriage". What marriage? The only marriage man in the movie seems to be the scientist in charge of Lacuna.
I found certain similarities with Philip K. Dick's story "We can remember it for you wholesale", which inspired the movie "Total recall" (1990). For anybody interested in the possibility of playing with memories, I warmly recommend reading this great story, whereas the film is rather weak in my opinion. Also a wonderful Spanish movie, "Open your eyes", by Alejandro Amenabar (the maker of "The others") goes in that direction. This movie was poorly remade in the US with the title "Vanilla sky" (keeping from the original version the Spanish Penelope Cruz, who met there Tom Cruise and became his fiancée, while Nicole Kidman was shooting with said Amenabar "The others"... )