On/off browser action button and bug fixes