Saving work on history screen. DOES NOT WORK

* Segfaults when renderHistory is called a second time.