Sorry I did not open the last image. Interesting dutch windows words like Bestand, Opmaak, Bewerken, enz. Hoewel ik Nederlands spreek can ik niet wennen aan een Nederlandse versie van Windows, zelfs toen ik daar nog woonde.
I see now whats happening. At 4:44:51.352 the gateway sends an ConnectionAborted. This happens when the wireless connection between the gateway and the device can not be sustained. It communicates an alive message every 250ms and if it misses 4 in a row it will send this message. The most common case is that the device resets. This could be because it runs out of memory or other resources.
Could you try the following? Connect to the device and let is sit there for at least 10 minutes. Do nothing. Let me know if you loose the connection in that scenario. If that is not the case load a very simple program, like blinky, in flash and do the same. The try it again with configuring the gateway.