Version and update state file.
Update frecency cache for all apps, not just the one launched
Always load config
Remove nonexistent or redundant app entries
Clean redundant entries.
Load state even if not updating format.
More robust mixing of desktop and command apps