Reformat for included IDL scripts.

Also remove debug code.