Added render button and an option to turn auto rendering off