Make DPI selection far more flexible