fixed browser persistence if no project/sample selected.
handle zero division when calculating decay factor