I fixed an integer overflow problem for large frame numbers (k*2 would overflow in the byte assign loop).  Also added a progress bar (that does not yet go to 100%, ends at 99% still working on it