**************************************************************************
* Release notes.
*   June 09,2018
*      1.10
*  1.Support 4K monitor
*  2.Rebuild for Linux platform
*   Aug 15,2017
*      1.09
*  1.Improve smart copy. Add option to copy or not copy bad block.
*  2. Add program range.
*  3. Add a lot of the NAND types.
*  4. Popup to select chip when multiple chips are found.
*   may 10,2017
*     1.08
*       1. Change display layout for NAND.
*       2. Change the NAND algorithm.
*       3. Fix display crash on large screen.
*       4. Remove the temp file after use.
*       5. Right click differs from left click on bad block.
*       6. provide progress bar for source file bbt creation
*   Dec 22,2016
*     1.07
*      Speed up create temporary file.
*      Unlock the memory when stop the program after pin detection failed.
*   Dec 15, 2016
*     1.06.
*     1. Automatically generate source and target block. 
*     2. Smart copy for NAND.
*     3. When doing blank check or verify, skip the target bad block.
*     4. Give warning if chip detect failed for read/erase/write operation.
*   Sept 22,2016
*    1.05
*      Add algorithm to generate the target file.
*   Oct 31,2015
*   1.03
*     Support NAND flash with six ids.
*     Fix crash when detect a new target (NAND
