fixed Mac communication problems
refactored Receiver Thread
added buildfiles for Windows and Mac
changed max text length to 18 chars