Shutdown function is changed

I have changed the shutdown method from dispose() to system.exit(0) 
I have corrected the message of the login screen when you don't have a database