Implement arbtt-capture --dump
Record the name of the current desktop
Make $desktop available

this resolves issue #1.