Index: trunk/psModules/src/camera/pmFPAConstruct.c
===================================================================
--- trunk/psModules/src/camera/pmFPAConstruct.c	(revision 9584)
+++ trunk/psModules/src/camera/pmFPAConstruct.c	(revision 9588)
@@ -250,5 +250,5 @@
     }
 
-    // MORE SUBSTITUTION OPTIONS HERE!
+    // XXX: MORE SUBSTITUTION OPTIONS HERE!
 
     psTrace("psModules.camera", 5, "Looking up %s in the CONTENTS.\n", contentKey);
@@ -385,4 +385,5 @@
 }
 
+// Return the level at which EXTENSIONS go, from the FILE metadata within the camera format
 static pmFPALevel hduLevel(const psMetadata *format // The camera format configuration
                           )
@@ -420,7 +421,5 @@
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
-// Construct an FPA instance on the basis of a camera configuration
-pmFPA *pmFPAConstruct(const psMetadata *camera // The camera configuration
-                     )
+pmFPA *pmFPAConstruct(const psMetadata *camera)
 {
     PS_ASSERT_PTR_NON_NULL(camera, NULL);
@@ -464,5 +463,6 @@
 
 
-// This is the engine for the pmFPAAddSourceFrom{Header,View} functions
+// This is the engine for the pmFPAAddSourceFrom{Header,View} functions.
+// It uses the camera format configuration information to determine where HDUs go in the FPA.
 // It returns a view corresponding to the PHU
 static pmFPAview *addSource(pmFPA *fpa,       // The FPA
@@ -555,5 +555,5 @@
     // In cases 2 and 3, the CONTENTS is of type METADATA, and is either a menu (if EXTENSIONS=NONE), or a
     // list of extensions otherwise.
-    psMetadata *contents = psMetadataLookupMetadata(&mdok, format, "CONTENTS"); // The contents of the FITS file
+    psMetadata *contents = psMetadataLookupMetadata(&mdok, format, "CONTENTS"); // The contents of the file
     if (!mdok || !contents) {
         if (mdok && !contents) {
@@ -751,8 +751,5 @@
 
 
-bool pmFPAAddSourceFromView(pmFPA *fpa,   // The FPA
-                            const pmFPAview *phuView, // The view, corresponding to the PHU
-                            const psMetadata *format // Format of file
-                           )
+bool pmFPAAddSourceFromView(pmFPA *fpa, const pmFPAview *phuView, const psMetadata *format)
 {
     PS_ASSERT_PTR_NON_NULL(fpa, false);
@@ -762,13 +759,9 @@
     pmFPAview *view = addSource(fpa, phuView, NULL, format);
     bool status = (view == NULL);
-    psFree (view);
+    psFree(view);
     return status;
 }
 
-// Add an input file to the FPA
-pmFPAview *pmFPAAddSourceFromHeader(pmFPA *fpa, // The FPA
-                                    psMetadata *phu, // Primary header of file
-                                    const psMetadata *format // Format of file
-                                   )
+pmFPAview *pmFPAAddSourceFromHeader(pmFPA *fpa, psMetadata *phu, const psMetadata *format)
 {
     PS_ASSERT_PTR_NON_NULL(fpa, NULL);
@@ -790,5 +783,5 @@
     }
 
-    // is FPAname already defined, new name must match it; otherwise, warn the user that something potentially
+    // If FPAname already defined, new name must match it; otherwise, warn the user that something potentially
     // bad is happening.
     const char *currentFPAname = psMetadataLookupStr(&mdok, fpa->concepts, "FPA.NAME"); // Current name
@@ -804,10 +797,5 @@
 
 
-// Print out the focal plane structure
-void pmFPAPrint(FILE *fd,               // File descriptor to which to print
-                pmFPA *fpa,             // FPA to print
-                bool header,            // Print headers?
-                bool concepts           // Print concepts?
-               )
+void pmFPAPrint(FILE *fd, const pmFPA *fpa, bool header, bool concepts)
 {
     PS_ASSERT_PTR_NON_NULL(fpa,);
