Removed unnecessary imports.
Fixed security sandbox for untrusted mods, fixes #69.