Added a vector to hold toggle settings to improve access speed as profiling showed this is called a lot, also may need to minimise number of get calls