Added if statement to deal with future removal of DrawMode
Changed reference to vmt_version to correctly open user guide. Change
open command for library functions to work on OS X.