add error checking to voterGUI