Updated from depreciated sys/timeb code to reduce compile warning noise.
removed unused widget name
Fixed compiler warnings associated with malformed (and redundant) ifdef blocks.
Fixed compiler warning noise due to lack of newline at end of file.
Fixed syntax of undef statment.
Fixed compile warnings from redundant widget names.
- fix for bug 1965: missing xor export, now instead of (a @ b) it exports (!a != !b)
- fix for bug 1966: now a member variable controls that functions are only exported once.