Move ballot configuration to its own child document.
Add warning message for changing configuration.
Minor cleanup.