added defer/recover to make BatchWriter and Writer Init calls safe from plugin panics
BatchWriter.Commit and DataRecycler.PrepOutData made safe with defer/recover calls