Compressor control. Needs some cleanup but it's working.