Added another error check for exporter 'onSave' ("Project must be
compiled first.")