Finished fixing Wx IDs abuse. There was still some wasted IDs because of wx.NewId calls in many places where it wasn't needed, and those IDs were not re-used. As a consequence Beremiz was making exception crashing after a few hours of intensive use.
#State Text Reference;;;;;;;
#Reference Number;Text 1;Text 2;Text 3;Text 4;Text 5;...;Text n