xterm: cleanup resources.
xsession: add test mode (-t).
xsession: fix MPD cleanup on exit.
xsession: fix VIM modeline.
xsession: minor cleanup.