changed 'context' to 'state' in all comments and config files