pugl osx stuff; remove extended code, not needed anymore