PEP8.
Spelling.
Add queued event to reporting.
Immediately send workflow queued event.
Show queued status in yellow in status reporting.
Write environment in gwf. Otherwise we don't know anything about the workflow.
Use pipe to get output from subprocess.
Check if report exists. If not, the job has just been queued.
Formatting.
Check return code when fetching log file.