Ubunut changes
Merge remote-tracking branch 'origin/BufferSwapping' into BufferSwapping
Switch set phase command to minimize jitter, adding test functions