Added chcking against potential stack corruption, mmap-exit is still failing...why?!