Added error handling to Main

Added error handling for imports in main sub
Corrected the error raised in ImportPrevOOR if file was not found