Fixed current thread not having current job id, affecting log viewing.
Fixed log file names not being OS-safe.
Fixed attempts to move files that do not exists.