Revert "fixed imminent nullpointerexceptions for trying to open closed projects"

This reverts commit 95a02bc57cff29e37f57c51db658890edcc2daf6.
Revert "Revert "fixed imminent nullpointerexceptions for trying to open closed projects""

This reverts commit 8d3bf79918a1f30dde06f5895649c45a817716dd.
Revert "removed use of rascal scheme"

This reverts commit 2522f58dde9ddeabe7bf009be486d0c8c66a9cb0.