Changing assert back to backslash, and moving config to ui.py