Added in save/restore state, so that when the user refreshes, their drawings are not lost.