Fix a gallery example typo and tweak sample layout.