Cleaned the hell out of the prefetching optimizations in model.

Also initial work on refactoring read.