We want to see the exceptions.
Fixed table locking.
Use the same prepared statement as the locking, and fix barrel unbuffered queries.

The easiest method is storing the tables as an array in the memory. Could in future
optimize this.
Added support for views.