small fixes, progress bar is running slow in executable