Moved millisecond conversion to gui in cupcake()

part 2/2