Simplify the favourites function.

  We can use a table to allow an arbitrary number of folders
 to be opened.