Fix some uninitialized variables.

There are more, but I'll fix them later as some need to be find runtime.