rename ceui removeGraph callback to graphRemoved
remove sprintf usage from ceui (so ceui works with no libraries); add dir setting