Minor text/visual adjustments to batch editing dialog. #321
Moving logic from shell script into application logic for tbx.js. Closes #1530