added the title bar to the window with a sample mouselistener for title bar options