Improve sample plugin
* Show how to get settings
* Upgrade to Java 1.6