Add shortened display name

- Add display name with home shortening via “~”
- Add shortening via elipsis when over 51 chars (disabled)
Fix for history limit management
Final fix
Move Swap Append/Load under submenu
Add labels preferences + minor fixes.
Menu tweaks per facelessuser and aziz requests
Regenerate the menu in every pref change
Add separator
I broke something, fixing..
Format the settings file
Semicolons! :)

- Remove unnecessary semi-colons
- Remove deep copy since not altering dict
Open the sidebar if its closed when switching/appending folders
Fix sorting
Add mnemonic
differentiate class Pref and instance pref
auto load folder for opened file