made code strict
fixed time to be a local var
Added fps and minFps options.
Merge branch 'master' of github.com:OptimalBits/navcodec