Fix an issue where the RevertQueryForm could not be opened unless the 'Reverts' directory existed
Show an error message in the RevertQueryForm when the setting to generate queries is not on