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
#State Text Reference;;;;;;;#Reference Number;Text 1;Text 2;Text 3;Text 4;Text 5;...;Text n