mia working well, edgeDetect with ratios, better gui