fixed resuming without gps, works almost perfectly now, yay, fixes #17
also added in a few lines for the gps stuff