GbDocumentMenuButton: be more careful about binding references
GbDocumentStack: emit view-closed signal when a view is closed
GbDocumentGrid: close clean buffers when last view is released