Some more logging, clean return statements.

refs #227
Add $omeroWrapper and buildCmd().

refs #236, #233