Improved options handling, especially for multiple instances
Better rule/init settings
JS tidyup
Better option settings, testing