progress, put window class on own file