Fix i/o limiter logic and add tunable to shmld
Add shmnull reinitialisation tool and general modifications
Fix nwrites logic
Malte's fixes