simplify task counter, fix title elements showing up during certain situations