sounds like an interesting problem you have there
code 12 14.. are those like rpm or starter signal?? can't remember right now
do a fresh diagnosis and get back to us
51 i believe is tps.. check the plug make sure it's firmly plugged and check/adjust as per tsrm