do not set dpi, let X get it right on it's own
allowshutdown=no as sudo has to be properly configured
Offer all available sessions if wmbinlist is empty
put cdmrc in /etc/X11/cdm/
move xinitrc to /etc/X11/cdm/ and document it's use
Add case for handling the Invalid MIT cookie or something.
Reformat comments: Expanded tabs to avoid problem with editors.
Simplify the theme mechanism, just specify an absolute path to a
dialogrc file as $dialogrc, and let dialog(1) worry about the validity
of $dialogrc.

Rename variables:
    $theme -> $dialogrc: make the low level things more transparent.
    $cosolekittime -> $cktimeout: indicate "timeout" here.
Use signal names (not numbers) in `trap'.
Replace self-made info formatting code with `functions.sh'.
checkyesno() is removed too since gentoo's `functions.sh' already
provides it.
Add support for user-defined cdmrc.
Remove $userconfig and related code.
Code messing with X should only be run if an X program is to be run.
Use a better way to safely launch a program in the background.
`$loginshell' is removed accordingly.
See <http://linuxshellaccount.blogspot.com/2007/12/what-to-do-when-nohup-hangs-up-anyway.html>.
Move code used to launch X to cdm-xlaunch(1), since it's relatively
independent code and thus would be sometimes useful for running as a
standalone program.
Major restructuring.
classify menu items into console programs and X programs.
Console programs are directly `exec'ed.
X programs are run with cdm-xlaunch(1).
$allowconsole, $usexinit, shutdownmenu(), etc., are removed.
Update documentation and installation scripts.
Bump version number to 0.6.
Sync values and order of configs in src/cdm and src/cdmrc.
Synchronise copyright notices...
Minor modifications in comment.
Use '$( ... )' instead of '` ... `' to avoid unexpected expansions.