Fixed several bugs with the ballot scanner. Also fixed how the supervisor handles ballot scanned events.