Working version using polling. Missing timeout.
Fixes bogus bool() conversion
Fixes bogus last fix
Output cosmetics.
Merge pull request #1 from aydo/Carrot

Working version using polling. Missing timeout.