Added trigger capability to PMDController. Added main thread executable code to both PMDController and LabJackController to simplify testing.