Fix #229 Server crash when opening mailtrader GUI