Add GNU license and fix some comment formatting.