small fixes
add background.js; update manifest; add few functions;