update: some micro improvements, replace post-increment operator with pre-increment operator.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>