Set recursesubmodules to true.
Add open-or-create-buffer-with-name.

Remove obsolete code.