There's a lot of redundant code for setting settings and checking settings. Might be nicer to have 1 options object and just pass down to each layer