Actually loads now. Chest shop still not quite working.

I/O works a little, but not perfect. There is still some debug output, though.