Updated MAST::Ops library.

Forgotten in an earlier commit.
Comment tweaks.
Add semaphore related ops.