Adding first version of the performer, to run the message pump in a thread