* edit window for macos
* fix small warnings
* fix link error for Xcode project