Added a Recently Closed widget and support for

Added a Recently Closed widget and support for optional permissions in
widgets