Final fixes for issue #13 (settings data doesn't work consistently on newer kernels)