Use app name for AppSupport subfolder, not useragent which may contain app version numbers etc...
Don't use unsafe method for main thread testing
Fixed build error on iOS
Project settings modernized