File extension regex update

… to match otherwise erroring /wp-admin/includes/media.php
Adding return() value to monitor

Also removing a slew of debugging calls