Library Fixes

Fixed the built in library up so that it uses the consistent and safe
method of constructing a string.