Functioning session support. Still weird bugs slowing down the client.