Refactored String related methods into a utility class. Moved isDirty
method for Text controls into SWTUtils