Add support for NSProgress

This is still a very basic example, to improve :-)