Code

Fixed bad interaction between language setup and session handling