use capabilities instead of z.capabilities
use gray background for app gallery icons without hues (fixes #41)