thread scores shouldn't be unsigned
fix voting logic