Removed old shared mem stuff...

And stuff I moved into proc.h