little change to the core architecture + PVector modified to get access to the current p5 instance