Cleaning up the edit/main page