Add request animation frame loop, fix child program comparisons.