Added application close which creates a text file with the name and versions of all applications