Begin implementing autofocuser.
Move blocking wait event loop code into dedicated helper function.
Add waitForReady to Device base class.