Fix comparison of isset() boolean to string, replace with $plugin_page global.
Replace anonymous function for PHP 5.2 support.
Remove additional anonymous PHP function.
Merge pull request #135 from deltafactory/master

Code cleanup