Ported Fl_WindowC.h, foreign call is no longer unsafe, and various other refactorings.