Formatting in headers.ts and converting the comments to JSDoc format.
Ignoring gedit ~ backup files.
Some reformatting, adding comments in unmanaged.ts.