Move wfThumbIsStandard() to GlobalFunctions and add tests