main
libdm: use unsigned char and snprintf in regex
libdm: remove unreachable return in _closure_term
headers: fix reserved include guards globally
libdm: fix ttree insert/lookup depth mismatch