added fixes for lists, div, and rewrote the guess of the list of block elements created with sty files