Fixed issues reported by cppcheck and scan-build in tplay sources.
Fixed issues reported by cppcheck and scan-build in libtizonia sources.
Fixed more issues reported by cppcheck and scan-build in libtizonia sources.
Minor change to make scan-build happy.
Fixed an error reported by scan-build in libtizcore sources.