improved logic for determining when to show message, also some minor code optimizations

git-svn-id: https://plugins.svn.wordpress.org/conditional-comments-message/trunk@947266 b8457f37-d9ea-0310-8a92-e5e31aec5664