Add Crashlytics and fix some warnings