Update emulator.rb (Fix no emulator window shows in MacOS 10.9 with Virtualbox 4.3, when $DISPLAY variable is empty)

Fix no emulator window shows in MacOS 10.9 with Virtualbox 4.3, when $DISPLAY variable is empty