Changes to core.c and rpipcmrender.h