1. add variable "rawon" and "plotflag2" to control the output of rawdata and overlaid image
should add their controls on the GUI later

2. change the output file format from "xls" to "xlsx" to support Office Open XML format