Changed use of CString to more appropriate and less buggy Ptr Word8