Added z-values to placed objects, various other things.