Started on outputting block history

Apparently it doesn't work right yet...