To prevent the PP_Remove_all crash try to add a wait(3); before initializing the glow on line 158 in main.c,
IŽll take a closer look in this later.