Added some debugging methods, implemented the vote resolver