Added messages in logBox in command panel while exiting.