Change main to return renderer view for appending