Added some warnings to background.js