added preferences and a window to set them on, give alert updates when profiles have changed.