attemped fix for nullpointer of thread
Merge branch 'master' of https://github.com/brainteam/BrainSphere.git