Reduced integer casting.  Or something like that.
Just removed some parentheses in figuring out the number of seconds since the last action.  No big deal.
Added error handling when loading foreign inventories fails.
Fixed foreign inventory call.
They changed the system to use HTTP GET instead of HTTP POST.  Which makes enough sense, I guess.