Tidy source information for imports, menu state