Finish work on util functions. HTML and Image blocks working normally