Fixed a lot of crashes caused by LString class.