Speedup by grouping inserts into begin-end block; may not sanitize contents, so see if this can be combined with prepared statements