config support for min/max amount of threads and processes; warning-free compilation by commenting unused function (tree spawn) and conditional specification of compiler-specific pragmas