fixed django 1.6 compat, and a markdown bug
fixed a session bug
added icons for textblocks