Streamlined editor page code