Jay, code 51 comes on if you touch the gas pedal (among other things) while checking codes, it is likely not your problem, I don't have it in me to break it all down, but JJ does:)
http://www.supramania.com/forums/showthread.php?t=46793&highlight=code+51
To sum it all up.....the ECU is stupid!