hgn: formatting consistently

Weird whitespacing all over this file.