made it possible to compile against tufao without installing it, removed some inline keywords because the functions are used outside of tufao
Let only one thread load plugins at a time