Added ImageProcesser class and some modification and debug info
Modified the state ELET=0 --> exit, to avoid the Windows crash