adapted osx UI, added a project to compile framework/lib

see 4 individual commits