It would be handy from a UX point of view to have a flag called something like "disable out of stock variations" in the plugin settings to check whether a variation of a product is out of stock or not.
If it is out of stock then add the disabled attribute to the <option>
A customer (J McAleer) has asked for this and I think it would be a useful feature