Added some parameters to the "chromeless" setting.
Round the seconds value in toHHMMSS to avoid fractional seconds (+ test case).