Added batch record support.
Added the ability to cancel a batch. Added some ui events for better reloading across the page.