Massive cleanup in runner.  Add switch to entry point in lua bundle code, not to agent runner (undecided if this is a good idea, but I like one entry to code...).