Merge pull request #262 from noahsug/master

cleaning up unresponsive script removal code
fixed issue with the unresponsive script algorithm