fix draw order bugs
make adjustments to how json and atlas files are found and stored in CCB files