Aside from the paint being so bad, the bottom of the pan is bashed in from the previous owner bouncing off rocks. I'll have to remove the pan and pound the bottom back out.
Another reason the the bad running engine might be the problem of the fitting that the knock sensor screws into is completely plugged up with rusty sludge!