Change the global alpha threshold to a per button properly

This seems like a nicer way of specifying the alpha threshold, it defaults to 0.1 as before.