Improved logging in SWT component. Fixes ##436