small fix for NPE race condition
Add LongStack support to StoreWal, this improves free space management