Remove some whitespace and obsolete comments
Add a missing dependency to the gdist library