Ran the code through cppcheck and fixed the complaints

Some uninitialized elements in constructors, which could have bitten
us in the future, and has bitten us in the past.

Some c-style pointer casts.

Some changing of iter++ to ++iter for performance.