Added std.algorithm.safeLess for safe signed/unsigned comparison; rewrote min/max