improved the zenity interface a little

also made server.cpp use zenity