cleanup now based on shmids dumped to file. client ids are now based on position in array
signal handler to trigger cleanup and stats
using named sems since mac doesnt suppose unnamed WTF
syncing with cashier better