Added a can_close variable to window, allowing for unclosable windows.