Initialize all variables
Several variable were left uninitialized in the previous commit. Thank mlocati