MAJOR: better error handling.
BUGFIX: got rid of NLS problems when connecting to Oracle XE instances.