attached is a patch for the "neverending compilation" bug report.
The problem is that if the files have a lastModified time in the future, our
assumptions fail and we compile it again and again.
Idea of the patch:
If lastmodifiedTime is in the future we don't recompile.
This should be a robust solution, fiddeling with the timestamps of the file
doesn't sound good to me.