had same codes ages ago mate! reset ecu (disconect battery for the night) and try again...
also i had a split vacum hose,have a good look round and make sure everthing is air tight.. 
I havent done that yet might be one for sunday night.
Which vacum pipes were u on about do you mean the breathers on the front of the engine.
check the black pipe that runs from right side of inlet manifold and follow it back,mine had a little split just behind the brake fluild filler and caused rough running.also i think sometimes you get false code readings,i tracked down a fault with my coolant sensor which i replaced and bingo! no more codes...
but got to be worth checking your wiring and connectors for faults and tshirt was saying and reset ecu
