C#/Mono porting of MOO Pang