added option to remove read only flags in windows. fixes #317
Merge branch 'clinton-hall/dev-CH'
Made some minor code corrections.
Removed unrequired log files