move type declarations on top of file
improve rendering of done todos. considerably.