Add clear recents functionality

Untested

Still got a lot more to do...