added the updated coproc.h and frameloop.c