Update StringLibrary

Some bug fixes
Added some Obj-C methods