Fixes in device and emulator related to start/stop mechanism.