fixed the UI resolution bugs, made the mode button much nicer