[ui] Fixed a defect that caused an org.eclipse.swt.SWTException to be sometimes raised when running a test. (Issue #20)
Updated copyrights.