Allow deleting empty projects from main screen. Fixes #341 and #348