Adding debug structure. continued progress with level loading