New scheme for opening/closing containers. Also fixes p, pre, center, h1, h2, h3, and fixes bugs in previous commit related to <ul> inside <ol>.