Fixed dependency exception

Fixing "NameError: name 'DEBUG' is not defined" and terminating the script when dependencies are not satisfied. Added requirements remark to README.md.