hello again Kaz.
now you've said about your timing belt. it kinda makes me wonder about the P0340 fault code you had initially. i said it may not be related before BUT this is the part where i think it may need explaining a in a little more detail.
P0340 is a code that the ECU throws suggesting there is 'something' wrong with the relationship between the position of the crankshaft and the position of the camshaft. this could be:-
1) Crankshaft Position Sensor fault.
2) Camshaft Position Sensor fault.
3) The Timing is Incorrectly set.
1) the Crankshaft Position Sensor is a relatively common fault on the Stilo basically it just gets old and worn out. its a simple 'Hall Effect' sensor (google it if you don't already know what a Hall Effect Device is) and after time they do deteriorate. these sensors can just, one day, give up the ghost never to work again. kinda frustrating i know, but this is by far the easiest and cheapest option to replace first. Another way they commonly fail is when the engine gets hot it cuts out, if you let the engine cool down it will most likely start again only to cut out once again when hot, although sometimes its not an exact science it may do it one day and another there may seem to be no rhyme or reason to it but its symptoms will always be worst when hot. the FIRST thing to check would be the air gap. the sensor should sit less than 1mm away from the exciter ring on the crankshaft pulley. A good guide is use a credit card (or bus pass
) it should fit snugly between the sensor and exciter ring. if it doesn't, firmly push the sensor in so there is a little bit of friction when removing the card.
2) Cam Shaft Position Sensor, same behaviour as above (with the exception of adjusting the air gap as its not possible to do so)... i think in the 4 years i've been in the stilo section i can only recall maybe 2 ever being the cause of cutting out/rough idling, i wont rule it out but experience says its not as common as the crankshaft fault
3)its quite common to have misfires and poor response after a belt has been fitted incorrectly. it maybe an idea to get the garage to check the timing is all correct and at least then you can confirm or deny its involvement with the issue you're having.
I wont bore you completely to death with how to set up the timing, but if you need/want/are asked to give the garage a helping hand, then i would be more than happy to supply you with the info on how to set it up correctly!
hope this helps... would have supplied pictures if i could have found the info and been bothered after spending the morning working on a stilo and pulling a 10 hour shift fault finding emission problems on a truck (forgive me if my head is a little fragged)