If your GUI ever locks up completely, and you have access to another machine, you may be able to repair it remotely. Telnet (or SSH) in, open a terminal, and do "ps -aux". Look for loginwindow.app in the list, note the PID number, and then "kill -9" that PID.