-converted tabs to spaces

-moved scratchpad memory out of MemArena
convert tabs to spaces
convert tabs to spaces