Minor updates to headless example.