I cant get my program to run on a created window please help