Okay, I put the wait() function into the NULL space, and the window stays. However, its displaying the terrain from the earlier example...