A bit of refactoring, add useful names and set the alias properly.

The alias field is now set from the last component of the picked
local dir. Also some tooltips were added.