minor changes and typos (preincrement~c++11)