UI work and bug fixing

 - MODIFY: ranges template and style
 - ADD: microformat generator
 - FIX: issue where selection color was undefined
 - MODIFY: editor modes