Fix compiler warnings.
Update submodules.
Crash prevention.