Cleaning up text, adding in flag margins