Fixing garbage collection problem with DbBackedFormState, and adding exception to give better error message.