Add some sanity checking
Start with 15 XSQLVARs per XSQLDA
Handle non-fatal errors in the same way as libpq

Custom event handlers not yet implemented, however.