Fix comparison of isset() boolean to string, replace with $plugin_page global.
Replace anonymous function for PHP 5.2 support.