Fixed an error in settings dialog that caused app to segfault on arm. Changed init...