fixed some job deletion problems - shold be more sane now.