Makes sure ntp is in sync before continuing

Plenty of bug fixes.