Mechanosensitive channel gating transitions resolved by functional changes upon pore modification.