Fixed compatibility issues.

Fixed compatibility issue with WordPress Download Manager Plugin 2.6.96
and newer.
Plugin name now can be assigned in constructor.