Watchdog, more parameters, fixed cache tuning

New thread heartbeat monitoring feature
More command line options to tweak, cache, enable/disable tuning,
primorialMultiplier
Fixed cache tuning -must be multiply of 32. disabled by default