A rewrite of Dreamwriter in Elm.