Fix onload hooks, we don't need to run sieves on them. Also, force onload and sieves hooks to have threaded=False