Make arguments to comparison function const

Just for the sake of cleanliness, make the comparison function for tree
entries const for clarity.

Fix some whitespace stupidity.