multiple modes of recording implemented.
Merge pull request #70 from darkowlzz/recModes

multiple modes of recording implemented.