fixed example (again), moved create-clock code to pink.control and updated example to use newer features (state-atom, done-fn)