Refactoring window rendering to anticipate the mighty tree