Add Logging for Sanitize Check Error + WIP Code for DB_CUSTOM_V3

Note WIP Code, might not compile etc