Made it so that there is always a selected gas, assuming that there is at least one gas in the chamber.