Implement --icon for OSX, add gst hook, fix option --Wignore.