first attempt to gain some speed: 2x-3x
fix the algo, show the file name in the title
b: definitely fix the invert algoritm, first attempt to fix the scheduling strategy