Fix brokeness in tokuft_engine.{h,cpp}, implement recovery unit