use slightly better metric to see if we already have the main thread.
only use queue size now
Merge pull request #123 from Floobits/thread-perf

use slightly better metric to see if we already have the main thread.