replaced overly complicated ticker stuff with calls to usleep. seems to work better.