Sort menu entries based on their names
Show more specific error message when no desktop files exist inside the directory to be scaned
Remove unused functions and variables
Update header file references