fixed NPE when thread group is null
Merge branch 'master' of github.com:araqne/logdb