Don't pass project between threads, use ID instead
Changed check in to get name from request again.
Changed to RefineProject from Project.
added def for declaration.
Merge branch 'dev' into release