Start of new strategy for message passing between ui and execute using blocking calls.