Made Input.recv() more efficient. (It will not call .poll() if there are pending messages)