log window, shutdown functionalities added