setup gui for Mac OS X