Initial version.
Take care of some uninitialized variable warnings.