Minor changes in win . Will have to rewrite to QPainter