Fixed bug in scripletBatch controller and added checkbox to disable autorefresh.