update gui while reading, use larger buffers when reading from file

resize slows down reading speed, minimize calling it