added "frozen" variable

it becomes true when an accelerometer has been disconnected and
reconnected.
Not restartable yet though.