Fix BEGIN/END oops
Fix memleak in f_BEGIN/f_END
Fix memleak in mainJQ_BEGIN/END processing
Much I/O testing