samples/RetinaSample improvements