fixed  popup and added background-injection messaging system