rec() now throws if recording is already in progress