patched a few bugs, refactored
Merge branch 'master' of https://github.com/rabidaudio/chrome-saveall-extension