fixed some job handling and module import problems...