added FATAL_CORE_DATA_ERROR to handle SQLite errors ref #3