Made a little cleanup on the hex editor code.