- replaced shelljs with rimraf
fixed frontend bug: projects now correctly close when there's no open device