Tidied up code at head of voting table.
Removed unnecessary DB requests.
Reduced height of the window bar.