Added SWT functionality (to provide the program with a window surface)