Make JTState a more proper singleton
Display an error and turn menubar icon red when we can't connect to the jobtracker.

Fixes issue #3.