Disable TUI and GUI