Removed dummyWindow. Issuse should be sovled in future with Xwt.Application.ShutdownMode