use GLUISH_DATA envirnoment variable
cleanup obsolete functions