Merge pull request #110 from ccd0/master

security fixes
updated voting system
check file extension against contents, try another method of checking transparency