Add function to check if thread has a poll

Also clean up some conditionals
Add some static methods to (un)subscribe with just a thread id