Fix intermittent stack underflow error.
Convert sector-checker to simple messager. Implement prototype event loop.