Fixed SIGTSTP and moved around stuff related to shared memory.