Updated q_shared.c a little.