Create outlines after loading a file; small fixes