Bug 1037704 - Add polling support to ShSurf. - r=mattwoodrow