Fixed handling of generics.
Code review cleanup, more string functions.
Merge pull request #3 from JP-DCG/master

Code review cleanup, function overloading fixes, more string functions