Fix pretty bug
Merge pull request #43 from rinrinne/eventthread

Fix pretty bug