Some better field value handling, PDFs now render again plus better handling for other render modes; resolves GitHub issue #27
Merge remote-tracking branch 'upstream/master'