dll3 had its own almost-identical lockable, combine
backtrace and text exceptions, add dll3 to HSMBase
move impl to tcc, rename H to h