Some optimizations

Unnecessary code removed from intToStr, strToInt, findFirstNonWhiteSpace
and strToCharPtr