Cleaned up a few IntPtr's that should have been byte[]