Modifying wshowPost() so it can do either windowed or non-windowed display.