Windows: Fixed window closing issue(Nothing happend)

Also added Show( ) function to the window class.