Fixing some errors in mpl.py (making startlocal.py work)

.json() is the new requests API.
Also better check