Fixed some stuff so p3d_dump works for yishins run.
But this is not a clean fix. I need to re code this this should only be termporary