More cleanup and extra debugging things

The hough threshold variable is not in use atm, but could be used when
voting.