Have you figured anything out yet? 140 PSI for a cold compression test for the RR SR20DE is a pretty good number. The compression on those motors should be 185 with a minimum allowable limit of 156 PSI, but this is with a warm engine so you are fine. Plus you are the same across the board so HG should be good.
It is hard to say if it is fuel or spark but if you are sure that your FPR is reading accurately then your pump is probably good and you can them move on to checking your spark again. If I were you I would put the car in timing mode and set it back to base idle of 15*, change the spark plugs, clear the computer with a scanner, even if you have no codes coming up and then start the car and see if it runs better. If it still doesn't run better you can check and make sure your injectors are working properly as per the Field Service Manual, that I attached in my second response.
Beyond that it may be something simple like a dirty/clogged or faulty EGR valve. Seems unlikely to most but it it possible. Yes, the EGR is not operating on start-up as it doesn't do anything until the car is warm, however, if the EGR is dirty/clogged or faulty and not shutting properly it might cause some start-up or idle issues because of a vacuum leak. Also a non-functioning EGR on that engine will cause the engine temperature to rise and NOX gasses will likely be higher and can cause detonation, especially when you have already advanced your timing a few degrees. Just a thought!
Hope I have helped. Maybe somebody else has better suggestions!
Good luck and keep us posted.