Fixed the strange session problem. Updated almost everything