Renamings in prep for passout module.
Start splitting library functions out from CLI.
Tidy library, underscore guarding internal stuff.
Give some library funcs better names.
PEP8 tray.py
Move tray support into library also.
Get rid of die() and logging.

It's more Pythonic to just show the exception... Especially where a
library is involved.
Add a comment.