Move constant strings to constant files
Fix flog and spec thresholds