changed makefile to re-include optimization
added ability to check if frames are already rendered in plaintext rendering