Cleanup settings dialog and some played time cleanup