Issue #29: added DB_TEXTURE for diagnosing texture memory management