OK, so those links helped me a bit, but I ended up doing something completely different. I'm going to have a number of "layouts" (right now i've only got one) that divide the map into areas. Each area will have a randomly sized room in it and the rooms will be connected randomly with hallways. Right now I'm trying to get hallways to work because my pathfinder isn't working right (I'm using it to generate the hallways). Or rather, the pathfinder is fine, but something is ignoring the walls...never mind.