Fixed a few problems with the vtrViewer on OS X (Mavericks and Yosemite)