Updated submodules; small fixes; set version to 1.0.5-dev.