Fix shared history between different sessions
Cleanup language exports