Fix multiple PHP warnings, icon display error on multisite and another bug reported by newburns.

git-svn-id: https://plugins.svn.wordpress.org/secure/trunk@823047 b8457f37-d9ea-0310-8a92-e5e31aec5664