Desktop notification improvements, small bugfixes