Added comments and changed parameter names
Reseting the inline ad count when the ads are destroyed
Added hack to get the word count when it's not set correctly