beremiz

Fix bug in killing debug thread when closing Beremiz window
from wxglade_hmi import *