Let's run the analyser when building.
Provide a "User Cancelled" error so we don't crash when canceling "New".

Closes #275, #220.