Made recommended project changes to submodules, including some code changes to fix warnings.