Bug fixes. Including really bad session bug.