Fix error when using complex input names

Complex input names containing, e.g. underscores and brackets, caused printThis() to throw an error.  Adding double-quotes in lines 122 and 112 corrected this behavior.