removed $variable evaluation (force ${variable} format; for &&variable).
fixed comments inside quotes handling (e.g. 'http://something' no longer comments out rest of line after //).
fixed "head" parameter to work with outformat=text