cleanups, fixes + remove most array-related algos from std.table