def setAppState(self, appState):
        """ Takes the app state (running config options) and makes any changes
            needed to the UI/etc to honor that app state """
        self.appState = appState
        # set undo history size
        self.undo.setHistorySize(self.appState.undoHistorySize)
 Takes the app state (running config options) and makes any changes
            needed to the UI/etc to honor that app state 
durdraw/durdraw_ui_curses.py