Adding the cross platform width error fix back in :-)
Deleted the testing swt snippet, does not really belong here in this repo.