Thread.setDefaultUncaughtExceptionHandler(ThrowableHandler.getInstance());
System.setProperty("java.util.prefs.PreferencesFactory", BinaryPreferencesFactory.class.getName());// NON-NLS
System.setProperty("sun.swing.enableImprovedDragGesture", "true");// NON-NLS
ProxySelector.setDefault(new FirewallingProxySelector(ProxySelector.getDefault()));
if (offlineModeSecurityManager)
{
try
{
System.setSecurityManager(new FirewallingSecurityManager());