As to your other query, you might note that at the south pole that indeed a compass does "flip" and act erratic.
Hold on there John, how would you know that? And which South Pole are you referring to? The magnetic or the geographic? Big difference! The thing is that at the magnetic north and south poles, the magnetic field lines actually point up and down, rather than along the surface. So really, if you stood on the magnetic south pole, your compass would try to point upwards. Special compasses are manufactured that can point in the up/down angle of the magnetic fields, as well as parallel to the earth's surface.
As to your erratic claim, that’s just not true. If you had indeed been there you would know.