Shutdown the server and properly exit the ltk mainloop when the server window is closed.
Lock window now handles any bg.gif size, centers the window.