Ok, I have found something that might explain the update stuff reported in pre4. If you are updating foo.lyx _and_ have foo.tex also in the same dir as foo.lyx the wrong foo.tex may get into the dependency file. _but_ I can _really_ not see how this can happen since we store absolute paths in the dependency file. Any way I am now rewriting some of the dependency handling/algorithms to make sure that latex is run only the needed number of times, even for the initial update. I am also bettering the debugging output a bit. Lgb