Add a test button to namecoin UI settings, which tries out the connection and reports its result back. Also use namecoin.conf as config file to load default RPC user/pass combination from.
Add a pane to the settings dialog UI which allows to edit the connection settings for namecoin.