Third ronud of gutting, Flexlay now no longer depends on ClanLib, lots of code #ifdef'ed