Added a loading bar and can now detect the close event. TODO lock the character and make sure it is valid and the only character on the server.