Fix a bug in the autotype sleep feature, add default browser.