Added command line argument passing

Can now pass number of frames to record. If no argument is passed,
defaults to continuous streaming mode.