fix some compiler warnings
fix Wmissing-field-initializers
locking semantics
http api entries fro lock/unlock
jlock job
unify job stubs