Theory of magnetic impurities in insulating and semiconducting oxides. Problems (and solutions?)