Re: how to avoid cold solder joints
First, make sure the tip is clean and tinned before using the iron.
Second, make sure the iron is the right temp - 40 watters and up - I highly recommend a variable temp iron, not the cheap ones at Radio Shack.
Third, heat the components that will be soldered together, don't clump solder on one of them and expect it to hold with the other. In other words, heat the wire and tab at the same time, apply solder, get out. Done.
A way to keep the wire from pulling away from the tab on the pot is to first make sure no old solder is on the tab, put the wire in the hole and bend it to old it there. Heat the connection, apply the solder, get out. Done.
For the back of the pots, well, I keep it simple and try not to solder there at all. BUT, if you have to, again heat the connection, apply the solder (I use the iron tip to hold the wire down), with the solder flowing, grab a small flathead screwdriver, replace the iron with the screwdriver holding the wire down. Let it cool. Done.
It take's patience to solder and knowing to solder the connection and not to apply blobs of solder on the tip to the connections. Keeping the iron's tip clean is very important for efficient heat dispersion.