Some simple renaming of local variables, removing 'shouldHalify' boolean variable.