Warning removed

Fixed a few minor issues that were causing the Debug plugin to throw
warnings. Also removed deprecated icon code and instead switched to
dashicons.