changed "app" to "renderWindow"