Take a look at " Non-blocking countdown sport timer implementation question" on this forum, it has many similarities.