fixed progress dialog not showing
fixed character set problem in compiled output