Code cleanup
Added voting from the panel.

Needs refactoring since it is ugly right now.
Made the vote support code much nicer.