Refactor IsRecording.

IsRecording was always true if the Capture was Some and always false if
the Capture was None. Get rid of that record field and make it a
property with a getter.