Small changes to concurrent process model
Fixed logging bug and better debug support
Fixed concurrency bug