Server now tests the database connection when starting, and gives an error message if it cannot connect.
Commented out two "this.Close()" commands.  I don't know what they're supposed to do, but they were responsible for the client crash.
Miscellaneous tweaks