Minor corrections, mostly to comments etc
Change order of parameters in bogio_read_frames() for consistency