Improved the standard library functions slightly. THEY WORK!!!