Avoid crash on missing data from server.

Use the uptime value from the server to calculate value changes per minute.
Fix error on issue #14.