I did wonder if D8 was there to protect the transistor against the back-emf generated by the switching of the transformer. If so, it might need to be a fast recovery type and not a 1N4001. Or, I may be talking complete rubbish. Geoff~