Fix loading settings, update some documentation