Implement random messages
Move canvas utilities to a library