replacing useGUI flag with getenv("DISPLAY")
reintroduced useGui flag so it can be overridden
Merge pull request #153 from biometrics/deprecate_usegui

replacing useGUI flag with getenv("DISPLAY")