Take event arguments from trigger function
Simply event_loop module. Remove background thread