Add a few includes needed for gcc -Wall
Allow specifying the password through env

XLPASSWD=mypass xl
will let the unlocking password be "mypass"
Allow specifying the password on the command line

xl mypass
will let the unlocking password be "mypass"
Special care is taken to hide the password to ps