Notifications code to google chrome and some other minor fixes