Some better error handling and security

Not every module can be required now anymore from the editor.
Which is by using the "inPath" option of wrapup. This option was
basically designed for this purpose.