Changed the checks for `state.skippped` due to a bad interaction with `excluded_keywords` . It was possible for a user to cause a `job_no` calculation error if the `skipped` command was called when an `excluded_keyword` job should be skipped. This fixes it so that the user cannot cause a calculation error using the `skipped` command by incrementing the `excluded_jobs` count when a excluded keyword is present.
Discovered a `job_no` calculation error when `excluded_keyword` was used. I think this should be resolved by keeping track of the number of times a job was skipped due to an excluded keyword and subtracting the number from the `job_no` update calculation. I think this should work because jobs that are skipped due to excluded keywords should not be counted. This bug would sometimes cause the number of jobs `job_no` to be larger than the total jobs `job_count`.
Commit includes a feature to filter prompts from the `prompt_array` and better integration with A1111 shared state.
Filtered Prompts:
-New UI textbox that will allow users to specifically designate keywords that should not be tested.
-Textbox will use the separator for string interpretation.
-Designed to work with the shared state `job_count` system.
Improved Shared State Integration:
-Script will communicate with the state job system, allowing loading bars to operate correctly and log steps to be calculated for overall jobs.
-Script will now obey the skip command, allowing users to skip a `job_no` (every image rendered is a `job_no`, while the overall jobs is `job_count`)
-Script will now obey the `interrupted` and `stopping_generation` commands. Allowing users to prematurely terminate the job loop.