Recording.

Added recording functionality that doesn't turn off the sensors when
screen is turned off. Has a periodical bug but it hasn't appeared during
a recording.