[MP] Get rid of unnecessary assembly VectorToInt function.
[MP] Several fixes/suggested cleanups reported from cppcheck.