A slate to write and draw on, then export to html

remove some dead code

We have an early exit for 'error' mode in this function.

Created by  akkartik  on November 12, 2023
KVEEGWKSI5IKPWVN3WTUFC7MN3LXEC5AIEHY62IGXMQRFVYHA7NQC
Change contents