Allow adding functions by selection range.
Add bounds checks to columns accessors.

Hit a crash in one of these on a rare case, so better to check.
Add a format for texfiltering to the GE debugger.
Fix case inconsistency in debugger menu.
Merge pull request #4660 from unknownbrackets/debugger

Minor debugger improvements