Add example that uses all options. Fixed bugs that occurred when all
options were on.