Fixed casterror.
Changed handling of steam api timeouts to be more intelligent.