array.[unique|random|shuffle], minor fixes + dumpvar bugfix