WIP on writing out document. Also made patterns just another kind of media, and renamed “stackfile” to “project”, which is what SuperCard calls it, and which doesn’t sound so … weird.