Added option to register patches as done instead of applying them.
Strict input checking for multiple-choice questions.