fixed a few function effects, includes, and improved a string length >= 1 function