Revert "Removed unnecessary code and used naming and formating convention found elsewhere in CSC solution .  Fixed CGM load and save features.  Fixed default inlay/icon load problem that occured after user change.  Reorganized tmpWorkDir structure to make cleanup easier.  Applied file name and error checking."

This reverts commit 355e5bb50119781b4818aee865651f0e8fa86ad3.