Added debug value for testing.
Added missing global debug variable.
Fixed debug changes.
Removed removal of nocrits and added short timer.
Added smlib as dependency and changed checks.
Bumped version and updated documentation.