Add and clean comments, and code. Add defensive code against missing timezone.