update indigo
adapt to synchronous Indigo APIs

Changes are mechanical and small. Improved error handling in a couple of
functions too.