add settings checkboxes, fix setting loading