Added comments for easier reading of code.
Fixed a few bugs.

Editing poll and changing votes are now 100% implemented.