Fix exception on exit in some case, sequel of an earlier cleanup commit I couldn't find back. Disconnecting the event is apparently the way to go. https://wiki.wxpython.org/Surviving%20with%20wxEVT%20KILL%20FOCUS%20under%20Microsoft%20Windows
<?xml version="1.0" encoding="UTF-8"?>
<BeremizRoot URI_location="LOCAL://">
<TargetType/>
</BeremizRoot>