Some theme edits
Adding some new options and making a checkIfModeExists function