Update startup sequence

Fixed bad startup sequence

PrioritySorter was created before all jobs was loaded, 
this created a race condition when checking legacy.

Also making sure vital parts are running as SYSTEM user.