Commented the MacOS-specific source code out
Implemented the IDM-function