This little example program illustrates using if touching logic and having two event loops running simultaneously.