Upped buffer sizes so doesn't click. Also only runs while visible.