cleaned up session GUI part.