Hi, Here is punch of small fixes for bugs reported by static analyzer. Some of bugs aren't possible in runtime but it is still nice to have correct code even for currently unused code paths. Pauli