Misc fixes with 1u -> ULONG1, comments, new[0] allocations.