Imported version 15.8a from sourcefourge.net
Added APPLE define to allow compilation on OS X
Merge pull request #1 from UmkaDK/develop

Merge stable changes from develop into master