Possible fix for Issue #11 and Issue #15...

* Removed bad check for 1024 chars using sql statements.
* Added check for 1024 chars using '$Path' length.