Continuing to try and debug the eclipse plugin.
Various changes --- plugin is now working!!