Fixed some bugs on job profile initialization.
A bit more Worker hardening.