Modified logic for SwtBlingExamples.
This way you don't have to do everything in a static context.