public void fetchPreferences() {
        try {
            updateInterval = preferences.getLong("updateinterval", 3);
            rpcUser = preferences.get("rpcuser", "");
            rpcPass = encryptor.decryptString( preferences.get("rpcpass", "") );
            addURLAutoPaste = preferences.getBoolean("aurl.autopaste", false);

            interfaceWindowConfig.getWindow().setHeight( preferences.getInt("window.height", 400) );
            interfaceWindowConfig.getWindow().setWidth( preferences.getInt("window.width", 500) );
            interfaceWindowConfig.getWindow().setX( preferences.getInt("window.x", 0) );
            interfaceWindowConfig.getWindow().setY( preferences.getInt("window.y", 0) );
            interfaceWindowConfig.getWindow().setHorizontalSplit( preferences.getInt("window.hs", 110) );
            interfaceWindowConfig.getWindow().setVerticalSplit( preferences.getInt("window.vs", 180) );

            String s = preferences.get("rpcurl", "");
            if (!s.equals("")) {
                try {
                    rpcURL = new URL(s);
                } catch (MalformedURLException e) {
                    rpcURL = null;
                }
            } else {
                rpcURL = null;
            }

        } catch (Throwable e) {
            //TODO: Add detailed exception handling
            Arietta.handleException(e);
        }

    }