Merge pull request #51 from marcel303/optimizedGetSetText

GetText/SetText optimizes and API improvement.