made gui detect and handle gracefully unexpected imports eg importing project as block