fix bug where refreshed Google results didn't update arrows, code reordering