Added another way to call IsValidUTF8 without needing a string object.
Also fixed a bug in console
Fixed a read bug for large files