Added some temporar debugging lines.  Improved the question selection a bit to try to prevent repeats.  Still not very efficient, but it works.