Dev fix vote panel bugs

Fix various bugs.