updates to pic lib for new graphics regime