Builtins (tupvar insert, frule inputs and outputs) automatically expand globs.
Fixed issues from the previous two changes.  Fixed a number of invalid memory reads in glob error messages.