Added stupid PollResult (need to refactor) and a bunch of other small things