Added quad-buffered shared memory support.