Infinit data recorder.

Added an option to record data continously until stop button is pressed.
Also other minor changes.