Added check for correct project identifier format.
Changed implementation of warnings somewhat.