that would explain why your car is driving shitty.. a 3-4 code could be one of two things..
either the det/knock sensor is dead and is reading as busted.. in which case you need to have it replaced, (mike at mjp auto will sell you one at a reasonable price) then you need to have it fitted.
or your engine is detonating.. it could be running on shitty fuel, or running too much boost.. there are other reasons..
are u running it on optimax?
if you reset the code and go for a drive again, not boosting just gentle, does the knock sensor trip again? thats what mine did.. i had to replace the sensor.. all fine ever since.