update for 6.1 final, improve example to be universal, better demonstration of features
update for 6.1 final, heavily reorganized example, more logging and so on