update comment about freetype.h location
fix race condition in errordialog.t

Test used to fail if the afterIdle callback with the die() was
executed after the checking callback. This could happen on slow (e.g.
remote) X11 connections.