Early prototyping of structure placement code and some small bug fixes in the noise files