Changed OpenMagic to a portable class library.