Remove trace lines and added shadow code back in. Works in flash, not in cpp at the moment