Several fixes to get rid of thread-checker warnings (but several less trivial-to-fix warnings still remain):
Also delete unused GhostJet class.
GhostJet