Fixed some issues reported when compiling with clang.
Removed some old features no longer supported.
Restructured csuperglue.