4.0.56: Poll with error.

The GUI will be ported from this point on to support testing of
polling. There will be a number of upcoming commits regarding the GUI.
However, the GUI will still be OS X-only. iOS port shall come after the
OS X version is finished.