Improved and fixed warning/error checks for all imports

Code refactor to improve the way imports check for errorsand warnings.  Will not take into account all errorsand warnings (including those that arise from mapping).Should also trigger the correct styling to be seenin various locations on the import page.