Update collection handling.

 * Add default title and range when setting a graph in a collection.
 * Fix empty menu anchors in collection view.