Minor permission and settings fixes