Core/BG: use UInt64 instead of Int64 for UNSIGNED BIG INT field + clean