check gui!=null in receiveData to prevent NullpointerException
Merge branch 'master' of https://github.com/asterics/AsTeRICS