The palette is now updated automatically to show the entries for the currently visible diagram

Fixes #79