I brought back $$PWD, sorry.
Also tided up *.pro a little.