Fixed x64 errors
Updated format strings to handle unsign longs