Queue of functions to provide semi-transactions, better escaping to prevent sql injection
merge