Now able to correctly log out of a character, allowing to another character to be logged in. Also fixed an error in gui.py when a corporation is not found.