Updated gmf.dylib

Cleaned up code