Feature/seqware 1893 special characters in stderr stdout

Deal with a cluster of issues regarding OOM of GCR even when running with no output, allowing for output of last N lines of stdout and stderr, and invalid characters in that stdout and stderr