Add some debugging stuff and some hacks to make gps time useful.