Merge pull request #443 from gaoyi/update-RSSExtension

COMP: update-RSSExtension
BUG: update RSS extension.

1. fix a bug: the mask image is not init-ed to all 0, which causes problem

2. clean up some debuging code