Toggling detours now works via detourtypes
Cleanup detourmngr.
Fix build