changed shebangs. added application script
proper widget names in mainwindow