Cleaning up
Added a try-catch so that detectPlugins() works with/without cookie support
Minor fixes
Enum improvements
Improved enum types marginally