Modified the error messages, included the actual sqlite error message.