Thanks!
I created a bunch of different cave tiles, and I wrote a script that randomly places the tiles on the level. The script makes sure that corresponding tiles are placed next to each other, so the caves fit together correctly.

Right now there are not a lot of different tiles, so each cave looks pretty much the same, but I am adding more as I go along. I just added a tile which goes down to a lower level, so the caves can randomly build themselves vertically as well as horizontally.

Once I have the caves working the way I want, I will attend to the textures. Currently, the textures do not really match up, so you can see big lines where one tile meets another tile. Form follows function, right?

I should also mention, I'm using A7 - Commercial Edition.

Do you think some of my issues might be resolved be upgrading to A8? Has Lite-C changed much since A7? I would hate to have to re-code everything...