Added uninitialised warnings on XCode compilation. Fixes on the ones triggered