Program skeleton and WorkBegan event