Some fixes to pneumatic system
Various perfomance-related fixes