Change hydramd default running directory and add some error handling
First attempt at jobids

Doesn't work, need to put jobid counter in shared memory.