All good advice so far. Only things to add:
Have you eliminated any possibility of problems with the pistol by having someone else shoot it or firing it from a solid rest?
and -- don't discount paying for some instruction if your problems can't be overcome through "self-help". With the cost of ammunition today, the cost of individual instruction could be cheaper than shooting hundreds of rounds that don't correct the problem.