Added a safety check that the escape function pointer for resizes is initialized, and moved some XSync commands (deep magic, don't ask).
Added a safety check that the escape function pointer for resizes is
initialized, and moved some XSync commands (deep magic, don't ask).

svn path=/trunk/; revision=431

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot