begin of creating window for the gcode sender.