Starting to add debug information

The file has been tidied up and the variable added to determine whether
or not to display any debug messages which will be programmed into the
plugin. These will be displayed as a series of alert boxes. Issue #4