Worklog impl (partial)
Properly closing stages
Properly registering/closing agents
Worklog quering for h2 repo
Oracle repo and view upate
FIxing oracle sql