Closing the window does not result in an error

|SOURCE|
[Common/Window]
* Added a member variable to track the running state of the window
[Linux/X11Window]
* The message sent for closing the window is handled properly