Some cleanup for desktop notifications