fixes posttools.ismain
fixes removePostFromTopic

remove the pid from the votes set too