Implemented DisplayState saving and loading.