Added very basic error reporting when requiring a module. Refs #3