added missing const qualifier for should_close() on Window