Inital commit of functional background mechanisms.

Note:
- mechanisms no longer get terminated as well as the authenticator
- added functionality to Pico Stop button to close the authenticator
- BUG: mechanism is destroyed, but the background thread re-starts the
decay timer leaving it on.