-> Removed the temporary fix.
-> Added a new method close_window_on_confirm(), which displays a confimation dialog box to quit pygtk main_window.
-> This method is mapped to quit() and exit() calls in the ipython console.