no numpy
using float instead of Decimal
survive if platform is unavailable
try directly /dev/ttyUSBs if not on windows
use getwork only on explicit 'http';

moved patch() from util to OpenCLMiner;
explicit use of '<' throughout