basic history working

Grabs 1024 bytes, not well tested.