add icons, some changes regarding closing logic on mac