On OSX, one always runs under a "graphical environment"; thus there is no DISPLAY environment.
As such, by default, z-scratchpad should assume that "Xorg" mode is set, and thus not check the existance of DISPLAY.
At the same time, add two options to explicitly disable "Xorg" or "terminal" mode.