* implement unlimited number of poll options * fixes * extract percent calculation into function so it can be used anywhere * add license header