Updated to make use of the revised input arguments of planMerge. Now pass scansV, dosesV, structsV and fileName to planMerge.
Implemented name mapping for Dose.
Check whether the structure is empty. i.e. rasterSegments are empty.
1> Added support for text annotations (needs to be tested more)
2> Fixed anotation display bug in case of multiple scans in planC.
support merging of GSPS data
Fixed bug where "OS" var was used without definition. Used "computer" instead to get the OS.
Assign default rotation and x/y/zLims in case there is no transformation matrix for the input scan. Bug found courtesy of Emiliano Spezi.
1> Display error message if no Structures are available in planC.
2> Fixed doseRange bug.
Fixed bug where dimension of structure matrix was inidilized as numCols*numRows. Fixed it to be  numRows*numCols. This caused creation of new structures for scans with unequal rows/columns to fail.
Added an option to import data in sub-directories via the optS.importDICOMsubDirs flag
This function recursively scans the input directory and returns a list of all files and sub-folders.
Read CERROptions file while importing DICOM to figure out whether to import data contained in sub-directories.
Save scan statistics (stateS.scanStats.minScanVal/maxScanVal) in stateS when new scan is added to planC.
Fixed bug reading the mha file if first byto of the binary vector field data began with \r.  The fix is to rewind the file-read by one byte if the header does not end with \n. This way, the \r byte gets associated with the binary vector field data
Check whether the GSPS annotation UIDs have been created.
Added flag to toggle annotations on/off. stateS.annotToggle
Added flag to force saving of planC.
1> Added stateS.annotToggle flag
2> Do a exact string search for SOPInstanceUIDs.
Added code to create annotation UID. PR_xxxx
Updated to use tmpdir to store intermediate i/o files.