The plugin's closing PHP tag
?> has extra characters after it and is generating an unexpected output warning on plugin activation.
The same message is also being caused by
global $wp_version; not being declared previously to the first verification of its value (
The following line is dumping WP_DEBUB notices:
wp_deregister_script( 'admin-bar' );
Works ok disabling this line, though.