multithreaded and event-based version of infobar