Fix running scripts widget crash when clicked on Reload All and Stop All buttons. Some other major changes.