fix missing timeout-checks, and changed to tolerant codeUsage check, implied root from where index html file is placed.