implement image, debug window, added .rc and icon for windows executable