No longer blows up when loading multiple targets. Must process all main
modules though