Synchronized writing functions in main class.
Merge branch 'master' of https://github.com/hanneseilers/jFTDIserial.git