Some bugfixes - array checks for leaves, fix for mangrove and loftwood
saplings.