Good man, I saw similar problem with s14 in KK, thought it was down to coilpacks (melted) but didn't realize timing can affect running so much.
On that car there was boost when engine was revved up, and huge amount of exhaust gas blowing on idle, just couldn't believe it. It was after h/g job so someone didn't put it back as it should be then.