added flat or smooth voxel terrain flag

other minor changes