Added a better worklogs management, some small fixes also.