Add option in preference to automatically connect at startup. Fixes bug #499885 ...