Clean up printing code, add view of last generation
Optimize printing