AdaptiveControl:
- Added initial conditions and reset command (to module, which control the thread).
- Changed some variable names to reflect better the paper naming convention.
- Added a maximum number of consecutive failed reads, and stop the control (not the thread) if this happens.