Added ErrorHandler, refreshParty, voting & fixes

Note that the getParties method is NOT FUNCTIONING right now. Don’t
integrate anything with it yet.