Background page fixes and new permission