Index: /branches/czw_branch/20160809/Ohana/src/libdvo/src/ImageMetadataSelection.c
===================================================================
--- /branches/czw_branch/20160809/Ohana/src/libdvo/src/ImageMetadataSelection.c	(revision 39717)
+++ /branches/czw_branch/20160809/Ohana/src/libdvo/src/ImageMetadataSelection.c	(revision 39718)
@@ -59,4 +59,6 @@
 }
 
+// note that this function is called by the dvo clients and uses the 'metadata' table
+// generated by the dvo shell for the mosaic images only.
 Coords *MatchMosaicMetadata (unsigned int imageID) { 
 
@@ -73,4 +75,6 @@
   mosaic.crval2 = image[m].crval2;
 
+  // note that image->theta is calculated based on pc1_1, pc1_2 when the metadata file is
+  // generated
   mosaic.pc1_1 =  cos(RAD_DEG*image[m].theta);
   mosaic.pc1_2 =  sin(RAD_DEG*image[m].theta);
Index: /branches/czw_branch/20160809/Ohana/src/libkapa/src/KapaOpen.c
===================================================================
--- /branches/czw_branch/20160809/Ohana/src/libkapa/src/KapaOpen.c	(revision 39717)
+++ /branches/czw_branch/20160809/Ohana/src/libkapa/src/KapaOpen.c	(revision 39718)
@@ -6,5 +6,5 @@
 # define MY_PORT 2500
 # define MY_PORT_MAX 2520
-# define MY_WAIT 100000
+# define MY_WAIT 1000000
 # define DEBUG 0
 
