Got reading working.
Optimized pointer stuff.